import organization from "./organization"
import organizationRole from './organization-role'
import user from "./user"
import userRole from './user-role'
import tenant from "./tenant"
import tenantRole from './tenant-role'
import role from "./role"
import { defineLib } from "@/seed-application/types"

export default defineLib({
  label: '认证授权',
  comment: '有关认证授权的统一功能',
  seeds: { organization, organizationRole, user, userRole, tenant, tenantRole, role },
  actions: {}
})

// 访问权限
// micro.action
// micro.seed.action

// 数据权限
// micro.action:column_op=1
// micro.seed.action:column_op=1

// 字段权限
// micro.action:column1==1
// micro.seed.action:column1==1